//
//  LKMapPointModel.m
//  LKIntelligentVideoProject
//
//  Created by she1323 on 2018/10/12.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import "LKMapPointModel.h"

@implementation LKMapPointModel

+(NSDictionary<NSString *,id> *)modelCustomPropertyMapper{
    return @{@"Id":@"id"};
}


-(NSString *)alarmGradeString{
    switch ([self.alarmGrade integerValue]) {
        case 1:
        {
            return @"预警";
        }
            break;
        case 2:
        {
            return @"一般告警";
        }
            break;
        case 3:
        {
            return @"重要告警";
        }
            break;
        case 4:
        {
            return @"紧急告警";
        }
            break;
        default:
            break;
    }
    return @"";
}

-(NSString *)doorStatuString{
    switch ([self.doorStatus integerValue]) {
        case 0:
        {
<<<<<<< HEAD
            return @"未知状态";
=======
            return @"常开";
>>>>>>> parent of 2e14138... 提交
        }
            break;
        case 1:
        {
            return @"开门";
        }
            break;
        case 2:
        {
            return @"关门";
        }
            break;
        case 3:
        {
            return @"常关";
        }
            break;
        default:
            break;
    }
    return @"";
}
@end
